﻿package com.victim.snake.snake {
	
	//方向控制节点
	public class DirectionNode {
		
		private var x:Number;
		private var y:Number;
		private var direction:uint;
		
		
		public function DirectionNode(x:Number,y:Number,direction:uint) {
			this.x=x;
			this.y=y;
			this.direction=direction;
		}
		
		public function getX():Number{
			return this.x;
		}
		
		public function getY():Number{
			return this.y;
		}
		
		public function getDirection():uint{
			return this.direction;
		}

	}
	
}
